package cn.liulin.spring_boot_study.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * cn.liulin.spring_boot_study.config$
 *
 * @author ll
 * @date 2021-10-22 11:11:26
 **/
@Component("userTest")
public class UserTest {
    @Value("zhangsan")
    private String userName;
    @Value("lisi")
    private String password;

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }
}
